Fix build
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 8 Jun 2016 13:20:02 +0000 (14:20 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 8 Jun 2016 13:20:02 +0000 (14:20 +0100)
Commit 023f406c9617284ee3b88727df489f20cd066fd6 has a typo that results
in this error:

../../../testsuite/gtk/notify.c: In function 'test_type':
../../../testsuite/gtk/notify.c:679:54: error: expected expression
before ')' token
    (g_str_equal (pspec->name, "max-content-width") ||)
                                                      ^

testsuite/gtk/notify.c

index 4761988a8cd9080af0418622f5541bcd0a0b1162..9b2a8e98b663990d35ff0ac0b96b766f66be79f1 100644 (file)
@@ -676,8 +676,8 @@ test_type (gconstpointer data)
 
       /* these depend on the min-content- properties in a way that breaks our test */
       if (g_type_is_a (type, GTK_TYPE_SCROLLED_WINDOW) &&
-         (g_str_equal (pspec->name, "max-content-width") ||)
-          g_str_equal (pspec->name, "max-content-height"))
+         (g_str_equal (pspec->name, "max-content-width") ||
+          g_str_equal (pspec->name, "max-content-height")))
        continue;
 
       if (g_test_verbose ())